/* 组件特定样式 */
.settings-container {
  max-width: 100%;
  margin: 0 auto;
  color: #e2e8f0;
  padding: 0 0.5rem;
}

.settings-section {
  margin-bottom: 1rem;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 1rem;
}

.settings-section:last-child {
  border-bottom: none;
}

.settings-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f8fafc;
}

/* Language selector styles */
.language-selector {
  margin-bottom: 1rem;
  max-width: 100%;
}

.language-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #cbd5e1;
}

/* Model config styles */
.model-config-item {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background-color: #0d1829;
  border-radius: 0.25rem;
}

.model-config-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #f8fafc;
}

.model-config-description {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* 模型管理页面样式 */
.model-management-container {
  min-height: 100%;
  height: 100%;
}

/* 模型表格自定义样式 */
.model-table {
  margin-top: 12px;
  border-radius: 6px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .model-management-container {
    padding: 12px;
  }
  
  .model-table .ant-table {
    font-size: 13px;
  }
}

/* 未配置API密钥的行样式 */
.api-key-missing {
  background-color: rgba(255, 0, 0, 0.2) !important; /* 半透明红色背景 */
}

.api-key-missing:hover {
  background-color: rgba(255, 0, 0, 0.3) !important; /* 鼠标悬停时稍微加深颜色 */
} 